package com.tdkj.model.exchangerate;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyExchangeRate entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xnky_exchange_rate")
public class BeanExchangeRate extends BaseEntity{

	private static final long serialVersionUID = 6719473684006273724L;
	// Fields
	// XXX积分等于1个银币
	private Integer integral;
	private Integer silvercoin;
	//一元人民币等于XXXX个 金币
	private Integer goldcoin;
	private Integer rmb;
	//银币折扣：XX折
	private Integer discount;

	// Constructors

	/** default constructor */
	public BeanExchangeRate() {
	}

	/** minimal constructor */
	public BeanExchangeRate(long id) {
		this.setId(id);
	}

	/** full constructor */
	public BeanExchangeRate(Long id, Integer integral, Integer silvercoin,
			Integer goldcoin, Integer rmb, Integer discount) {
		this.setId(id);
		this.integral = integral;
		this.silvercoin = silvercoin;
		this.goldcoin = goldcoin;
		this.rmb = rmb;
		this.discount = discount;
	}

	public Integer getIntegral() {
		return this.integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getSilvercoin() {
		return this.silvercoin;
	}

	public void setSilvercoin(Integer silvercoin) {
		this.silvercoin = silvercoin;
	}

	public Integer getGoldcoin() {
		return this.goldcoin;
	}

	public void setGoldcoin(Integer goldcoin) {
		this.goldcoin = goldcoin;
	}

	public Integer getRmb() {
		return this.rmb;
	}

	public void setRmb(Integer rmb) {
		this.rmb = rmb;
	}

	public Integer getDiscount() {
		return this.discount;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

}